<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <!-- jquery文件 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    <script src="5.js"></script>
</head>
<body>
    <h1>欢迎来到我的网页！</h1>
    <p>请输入您的姓名：</p>
    <input type="text" id="name"></input>
    <button id="greet">提交</button>
    <p id="greeting"></p>
    <form class="form-inline">
        <div class="form-group">
            <label for="book">书名</label>
            <input type="text" class="form-control" id="book" placeholder="请输入书名"/>
        </div>
        <div class="form-group">
            <label for="author">作者</label>
            <input type="text" class="form-control" id="author" placeholder="请输入作者"></input>
        </div>
        <div class="btn-group">
            <button type="button" class="btn btn-success" id="add">添加</button>
            <button type="reset" class="btn btn-warning">重置</button>
        </div>
    </form>
    <table class="table table-striped table-hover table-bordered">
        <thead>
            <tr>
                <th>书名</th>
                <th>作者</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody id="book-list">
            <tr>
                <td>JavaScript</td>
                <td>Bruce Eckel</td>
                <td>
                    <button class="btn btn-danger delete">删除</button>
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>